#this is using the library freetype2, which must be downloaded, and then: ./configure make and sudo make install
#I used this makefile on Ubuntu 11.10, December 2011
CC = gcc -Wall -ansi
SOURCE = ./src/lesson43.cpp ./src/FreeType.cpp ./src/WindowM.cpp
FREETYPE_INCLUDE = /usr/include/freetype2/
FLAGS = -g -lGL -lGLU -lfreetype `sdl-config --cflags --libs`
BINARY = freetype

all:
	$(CC) $(SOURCE) -o $(BINARY) $(FLAGS) -I$(FREETYPE_INCLUDE)

clean:
	@echo Cleaning up...
	@rm $(BINARY)
	@echo Done.
